<template>
  <div @click="goback" class="goback">
    <img src="../assets/fanhui@3x.png" alt="" />
  </div>
</template>
<script>
export default {
    methods:{
        goback(){
            this.$router.go(-1);//返回上一层
        }
    }
};
</script>
<style lang="less">
.goback {
  position: fixed;
  right: 21px;
  bottom: calc(50px + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  background: #BDBEC6;
  box-shadow:0 5px 10px  rgba(143, 146, 161, .26);
  border-radius: 50%;
  img {
    width: 100%;
  }
}
</style>